/* tslint:disable */
export function fileToObject(file: File): {
  size: number;
  lastModifiedDate: any;
  name: string;
  webkitRelativePath: string;
  lastModified: number;
  type: string;
} {
  return {
    lastModified: file.lastModified,
    lastModifiedDate: (file as any).lastModifiedDate,
    name: file.name,
    size: file.size,
    type: file.type,
    webkitRelativePath: file.webkitRelativePath,
  };
}
